<tagLib name='html'/>
<div class='pageHeader'>
    <form action='__URL__' method='post' id='pagerForm' onsubmit='return navTabSearch(this);'>
        <div class='searchBar'>
            <ul>
                <li><label>组ID</label> <input type='text' name='group_id' value='{$int_group_id}' /></li>
                <li><label>组名</label> <input type='text' name='name' value='{$str_name}' /></li>
                <li><label>备注</label> <input type='text' name='remark' value='{$str_remark}' /></li>
                <li></li>
                <li><label>状态</label> <html:select options='arr_status' selected='int_status' first='{$str_select_first_txt}' name='status' style='combox' /></li>
            </ul>
            
            <include file='$str_search_bar_html' />
        </div>
        
        <include file='$str_page_search_html' />
    </form>
</div>

<div class='pageContent'>
    <div class='panelBar'>
        <ul class='toolBar'>
            <li><a href='__URL__/add' target='dialog' width='650' height='500' class='add'><span>添加</span></a></li>
            <li><a href='__URL__/edit?id={id}' target='dialog' width='650' height='500' class='edit'><span>修改</span></a></li>
            <li class='line'>line</li>
        </ul>
    </div>
    <table class='table' width='100%' layoutH='138'>
        <thead>
            <tr>
                <th width='80'>组ID</th>
                <th width='250'>组名</th>
                <th width='250'>角色</th>
                <th width='250'>备注</th>
                <th width='50'>操作者</th>
                <th width='50'>状态</th>
                <th width='100'>创建时间</th>
                <th width='100'>更新时间</th>
            </tr>
        </thead>
        <tbody>
            <foreach name='arr_info' item='sub'>
                <tr target='id' rel='{$sub.group_id}'>
                    <td>{$sub.group_id}</td>
                    <td>{$sub.name}</td>
                    <td title='{$sub.role_ids}' class='list_long_text'>{$sub.role_ids}</td>
                    <td>{$sub.remark}</td>
                    <td>{$sub.user_id|get_user_name}</td>
                    <td>{$sub.status|get_status_txt}</td>
                    <td>{$sub.create_time|get_date}</td>
                    <td>{$sub.update_time|get_date}</td>
                </tr>
            </foreach>
        </tbody>
    </table>

    <include file='$str_page_html' />
</div>
